package com.project.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.project.bean.CountSellBean;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;
/**
 * @Title: ICountSellMapper
 * @Package: com.project.mapper
 * @Description:
 * @Author: Liang-Xie
 */
@SuppressWarnings("all")
@Mapper
public interface ICountSellMapper extends BaseMapper<CountSellBean> {
    List<CountSellBean> findByItem(@Param("startDate") LocalDate startDate,
                                   @Param("endDate") LocalDate endDate);

    List<CountSellBean> findByProduct(@Param("startDate") LocalDate startDate,
                                      @Param("endDate") LocalDate endDate);

}
